Identify Copperline via manufacturer 5192 + identification board#18
Merged
Conversation
Copperline's built-in expansion boards autoconfigured under manufacturer 2011 (0x07DB), the shared "Prototype"/hacker ID. identify.library matches that ID's product 1 with f_uae_001 and reports it as UAE, so there was no way for guest software to tell it was running under Copperline. Move the built-in boards to manufacturer 5192 (0x1448), Copperline's own registered ID (dec0de Consulting, which also makes the real ROMulus board = product 1). Product numbering: 2 = identification board, 3 = fast RAM, 4 = Zorro III RAM. Add BoardSpec::copperline_id(): a tiny, inert Zorro II board (64K, kept out of the free-memory list, no autoboot) that build_zorro_chain always appends last, so guest software can detect the emulator by finding manufacturer 5192 / product 2 on the chain (e.g. identify.library calling FindConfigDev). Its autoconfig serial carries the running version packed as major<<16 | minor<<8 | patch so a tool can report the exact version. The new top-level `identify = false` config key drops the board. Verified on real Kickstart 2.05: both the fast RAM board and the Copperline board autoconfigure. Docs updated (zorro.md manufacturer-ID section, configuration.md identify option). Refs #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #16.
@shred asked for a way to detect a Copperline environment, ideally via a custom Zorro autoconfig manufacturer/product ID.
The problem
Copperline's built-in boards autoconfigured under manufacturer 2011 (
0x07DB), the shared "Prototype"/hacker ID.identify.librarymatches that ID's product 1 withf_uae_001and reports it as UAE -- so there was no way to tell it was Copperline.The change
0x1448), Copperline's own registered ID (dec0de Consulting, which also makes the real ROMulus board = product 1). Product numbering under it:2= identification board,3= fast RAM,4= Zorro III RAM.BoardSpec::copperline_id): a tiny, inert Zorro II board (64K, kept out of the Exec free-memory list, no autoboot) that is always appended last to the autoconfig chain, so guest software can detect the emulator by finding manufacturer 5192 / product 2 (e.g.FindConfigDev(5192, 2)). Added last so the RAM boards keep the base addresses they would get without it.major<<16 | minor<<8 | patch, so a tool can report the exact Copperline version, not just the name.identify = falseconfig key drops the board for a chain with no emulator-identifying board.identify.library side (for @shred)
Detection is unique on (manufacturer, product) = (5192, 2). The
manuf 05192,"dec0de Consulting"block already exists inID_Database.s; this just needsboard 002,"Copperline",MSG_EXP_MISCplus aFindConfigDev(5192,2)branch indo_System(ID_Hardware.s) that sets the emulated flag and returns a newIDSYS_COPPERLINEconstant. The serial is optional version reporting.Verification
cargo test(1052 pass, incl. new tests for the board, version packing, and the toggle),cargo clippy,cargo fmt --checkall clean."fast RAM" @ \$200000,"Copperline" @ \$E90000.Docs updated:
docs/zorro.md(new manufacturer-ID section) anddocs/guide/configuration.md(identifyoption).🤖 Generated with Claude Code